package edu.pku.sei.transformation.editor.views.figures;

import org.eclipse.draw2d.MarginBorder;
import org.eclipse.draw2d.ToolbarLayout;

public class CommentFigure extends BentCornerFigure {
	private TextArea text = new TextArea("");

	public CommentFigure() {
		this.setLayoutManager(new ToolbarLayout());
		this.add(text);
		text.setBorder(new MarginBorder(5));
	}

	public void setText(String s) {
		text.setText(s);
	}

}
